#-------------------------------------------------------------------------------
# Name:        fmarchenko
# Purpose:
#
# Author:      Fedor
#
# Created:     28.11.2012
# Copyright:   (c) Fedor 2012
# Licence:     GPL
#-------------------------------------------------------------------------------
#!/usr/bin/env python
import settings, os
from methods import Hosting

def main():
    hosting = Hosting()
    if settings.DEBUG_TEST:
        hosting.remove_django_project(u"test_project", u"test_project.local")
    hosting.create_django_project(u"test_project", u"test_project.local")
    print u"Projects count: %s in %s" % (hosting.CountDjango(), settings.ROOT_DJANGO_PROJECT_PATH)

if __name__ == '__main__':
    main()
